package com.bjpowernode.constant;

/**
 * 常量类
 *
 */
public class Constants {

    //每页查询10条数据
    public static final int PAGE_SIZE = 10;

    //Redis的key的命令规范：  项目名:模块名:功能名:唯一业务参数  (dlyk:user:login:1,   dlyk:user:login:2,   dlyk:user:login:12087)
    public static final String REDIS_LOGIN_TOKEN = "dlyk:user:login:";

    //生成唯一交易流水号的redis的key
    public static final String REDIS_ONLY_NUMBER = "dlyk:tran:tranno";

    //登录地址
    public static final String LOGIN_URI = "/api/login";

    //请求头中token(jwt)的名字
    public static final String TOKEN_NAME = "Authorization";

    //字典类型：称呼
    public static final String APPELLATION = "appellation";
    //字典类型：是否需要贷款
    public static final String NEEDLOAN = "needLoan";
    //字典类型：意向状态
    public static final String INTENTIONSTATE = "intentionState";
    //字典类型：意向状态
    public static final String CLUESTATE = "clueState";
    //字典类型：线索来源
    public static final String SOURCE = "source";

    public static final String EMPTY = "";

}
